﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace comm.objst
{
    [Serializable]
    public class SObjectInfo
    {
        private string _objectId = null;
        public string ObjectId
        {
            get
            {
                if (_objectId == null)
                {
                    _objectId = "";
                }
                return _objectId;
            }
            set { _objectId = value; }
        }

        private string _dObjectId = null;
        public string DObjectId
        {
            get
            {
                if (_dObjectId == null)
                {
                    _dObjectId = "";
                }
                return _dObjectId;
            }
            set { _dObjectId = value; }
        }

        private string _name = null;
        public string Name
        {
            get
            {
                if (_name == null)
                {
                    _name = "";
                }
                return _name;
            }
            set { _name = value; }
        }

        private string _nickname = null;
        public string Nickname
        {
            get
            {
                if (_nickname == null)
                {
                    _nickname = "";
                }
                return _nickname;
            }
            set { _nickname = value; }
        }

        private string _playerId = null;
        public string PlayerId
        {
            get
            {
                if (_playerId == null)
                {
                    _playerId = "";
                }
                return _playerId;
            }
            set { _playerId = value; }
        }

        public ObjType ObjType { get; set; }

        public int MoveSpeed { get; set; }
        public MoveType MoveType { get; set; }
        public MoveTo MoveTo { get; set; }

        public int LocX { get; set; }
        public int LocY { get; set; }
    }
}
